package com.one.blocks.security.authc.smscode;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @author <a href="mailto:idler41@163.con">linfuxin</a> created on 2023-09-23 19:08:47
 */
public interface SmsCodeService {

    UserDetails loadByMobile(String mobile);

    boolean verifyCode(String code);
}
